/**
 * 
 */
package com.xpec.c4.service.module.datacenter.centralcmd;

import com.ms.service.module.datacenterlite.CentralAsyncCommand;
import com.xpec.c4.message.MessageTypes;
import com.xpec.c4.service.annotations.MessageType;
import com.xpec.c4.service.contexts.Contexts;
import com.xpec.c4.service.module.datacenter.DataCenterModule;

/**
 * @author TW15010
 *
 */
public class CentralCommandAction {
	@MessageType(typeCode = MessageTypes.S_CENTRAL_REQUEST)
	public void centralAsyncExecute(CentralAsyncCommand obj) {
		DataCenterModule module = (DataCenterModule) Contexts.getModule();
		CentralCommandProcessor.OnCentralAsyncExecute(obj, module);
	}
}
